﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.controllers {
    import net.wooga.pets.interfaces.*;
    import net.wooga.pets.constants.*;

    public class InitBabyCommand extends InitPatientCommand {

        override public function execute():void{
            var _local1:IBaby = (event.info.actor as IBaby);
            _local1.speed = ((int(getData("baby/speed"))) || (12));
            _local1.treatments = initTreatments(event.info.data[ProtocolConstants.TREATMENTS]);
        }

    }
}//package net.wooga.pets.controllers 
